﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="TopicScheduleList.ascx.cs" Inherits="Lenovo.CFI.Web.VP.TopicScheduleList" %>
<tbwc:StyleSheetControl ID="SscList" runat="server" CssPath="list.css"></tbwc:StyleSheetControl>
<tbwc:StyleSheetControl ID="SscDp" runat="server" CssPath="DatePicker/datepicker.css"></tbwc:StyleSheetControl>
<tbwc:StyleSheetControl ID="SccAc" runat="server" CssPath="VP/autocomplete.css"></tbwc:StyleSheetControl>
<tbwc:StyleSheetControl ID="SscThis" runat="server" CssPath="VP/topic/topicschedulelist.css"></tbwc:StyleSheetControl>

<ajaxToolkit:ToolkitScriptManager runat="Server" EnablePartialRendering="true" CombineScripts="false" ID="ScriptManager1" >
    <Services>
        <asp:ServiceReference  Path="~/WS/AjaxUser.asmx" />
    </Services>
    <Scripts>
        <asp:ScriptReference Path="~/js/jquery-1.4.2.js" />
        <asp:ScriptReference Path="~/js/jquery.autocomplete.js" />
    </Scripts>
</ajaxToolkit:ToolkitScriptManager>

<div id="relatedoperation">
    <div style="float:right" class="operation"><asp:Button ID="BtnExport" runat="server" 
            SkinID="EditPrimary" Text="Export" ToolTip="Export" onclick="BtnExport_Click"/></div>
</div>
<div class="dataListArea">
    <tbwc:GridViewEx ID="GvList" runat="server" SkinID="List" DataKeyNames="ID"
        AllowPaging="false" OnRowDataBound="GvList_RowDataBound">
        <Columns>
            <asp:TemplateField HeaderText="No.">
                <itemtemplate><asp:Literal ID="LtrNo" runat="server"></asp:Literal></itemtemplate>
                <itemstyle cssclass="listNo" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="StartTime">
                <itemtemplate><asp:Literal ID="LtrStartTime" runat="server"></asp:Literal></itemtemplate>
                <ItemStyle CssClass="time" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Idea Name">
                <itemtemplate><asp:Literal ID="LtrTitle" runat="server"></asp:Literal></itemtemplate>
                <itemstyle cssclass="title" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="Author">
                <itemtemplate><asp:Literal ID="LtrOwner" runat="server"></asp:Literal></itemtemplate>
                <itemstyle cssclass="owner" />
            </asp:TemplateField>
        </Columns>
    </tbwc:GridViewEx>
</div>

<div class="wrapper" runat="server" ID="DivAgent">
    <tbwc:Fieldset ID="FsSet" runat="server" DesignWidth="1240px" CssClass="idea" GroupingText=" ">
        <div class="line"><asp:Label ID="LblAgent" runat="server" AssociatedControlID="OuacAgent" Text="Delegate To:" CssClass="title"></asp:Label><tbwc:OneUserAutoComplete
            ID="OuacAgent" runat="server" Width="9.5em" AcServiceUrl="WS/AjaxUserAc.aspx" 
                CheckServiceUrl="Lenovo.CFI.Web.WS.AjaxUser.CheckItCodes"></tbwc:OneUserAutoComplete><span class="hint"><asp:RequiredFieldValidator
            ID="RfvOuacAgent" runat="server" ControlToValidate="OuacAgent" ErrorMessage="Required" Display="Dynamic"></asp:RequiredFieldValidator></span></div>
    </tbwc:Fieldset> 
    <div class="operation" style="padding:8px 0px 8px 16em"><asp:Button 
        ID="BtnSave" runat="server" CssClass="primary" Text="Delegate" OnClick="BtnSave_Click" /></div>
   
</div>
